package com.jiedeng.controller.index;

import com.jiedeng.util.ForwardConstants;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 消息管理
 */
@Controller
@Scope("prototype")
@RequestMapping("/news")
public class NewsController {
    /**
     * 分页消息
     *
     * @return
     */

    public String findNewsListByPage() {
        return ForwardConstants.SUCCESS;
    }

    /**
     * 跳转消息页面
     *
     * @return
     */
    @RequestMapping("/newsListUI")
    public String newsListUI() {
        return "";
    }
}
